import { ApiProperty,PartialType } from "@nestjs/swagger";
import { CreateModelDto } from "./create-model.dto";

export class QueryModelDto extends PartialType(CreateModelDto) {
    @ApiProperty({
        type: 'number',
        default: 1,
        description: 'paginition number'
    })
    pageNum?: number;

    @ApiProperty({
        type: 'number',
        default: 10,
        description: 'paginition size '
    })
    pageSize?: number;
}